-- GENERATED SPELL FOR [Stonesplinter Shaman] --


function spell0_1197(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(547,pUnit)
pUnit:RegisterEvent('Sorts_1197', 2500, 1)
end

function Sorts_1197(pUnit, Event)
local choix_sorts_1197 = math.random(0, 0)
if choix_sorts_1197 == 0 then
pUnit:RegisterEvent('spell0_1197', 1, 1)
end
end

function mob1197_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1197', math.random(1500, 3000), 1)
end

function mob1197_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1197_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1197_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1197, 1, 'mob1197_Action')
RegisterUnitEvent(1197, 2, 'mob1197_Leave')
RegisterUnitEvent(1197, 3, 'mob1197_Kill')
RegisterUnitEvent(1197, 4, 'mob1197_Die')
